<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>
<%@ page import="java.util.Date"%>
<%Long time = new Date().getTime();
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path;
%>
<!DOCTYPE html>
<html>
<head>
    <title>恒拓数据中心任务管理系统</title>

    <base href="<%=basePath%>">
	<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
	<%@ include file="/pages/common/header.jsp"%>
    <link href="<c:url value='/css/security.css' />"   rel="stylesheet">
    <link href="<c:url value='/css/organisation.css' />?time=<%=time%>" rel="stylesheet">
    <link href="<c:url value='/lib/bootstrap-datetimepicker/css/bootstrap-datetimepicker.min.css' />" rel="stylesheet">
    <script>
        var contextPath = '${pageContext.request.contextPath}';
    </script>
</head>
<body>

	<form>
		<input type="hidden" id="nowDade" name ="nowDate" value=""/>
	</form>

	<div class="g-head">
	    <nav class="navbar navbar-default">
	        <a class="navbar-brand" href="#" style="width: 390px;">
	        <img style="width: 200px;" src="<c:url value='/images/global.logo.png'/>"/>任务管理系统</a>
	        <div class="collapse navbar-collapse navbar-ex1-collapse">
	            <div class="btn-group navbar-right">
	               
	            </div>
	        </div>
	    </nav>
	</div>
	<div class="container-fluid">
	<div class="row-fluid">
		<div class="span12">
			<ul class="nav nav-tabs">
				<li class="active page-content" data-target="${pageContext.request.contextPath}/task/CrawlStats/successRate.koala">
					<a>全航线任务完成情况</a>
				</li>
				<li class="page-content" data-target="${pageContext.request.contextPath}/task/TaskQuery/fetchQueryPage.koala?">
					<a>全航线任务查询</a>
				</li>
				<li class="page-content" data-target="http://112.124.29.43:8080/task/CrawlStats/successRate.koala">
					<a>中航信任务完成情况</a>
				</li>
				<li class="page-content" data-target="http://112.124.29.43:8080/task/TaskQuery/fetchQueryPage.koala">
					<a>中航信任务查询</a>
				</li>
			</ul>
		</div>
	</div>
	<div id="content">  </div>
</div>
	
	<div id="footer" class="g-foot">
	    <span>Copyright 2014-2015 恒拓运价魔方</span>
	</div>
	
</body>
</html>
<script type="text/javascript">
$(function(){
	$(".page-content").children("a").on("click", function(){
		$(".nav-tabs").children("li").removeClass("active");
		$(this).parent().addClass("active");
	    var url = $(this).parent().attr("data-target");
		loadContent($("#content"), url);
	});
	$(".page-content").children("a").first().click();
});
</script>